﻿<%@ Page Language="C#" MasterPageFile="~/SMS.master" AutoEventWireup="true" CodeFile="RiskReport.aspx.cs" Inherits="RiskReport" Title="Untitled Page" %>
<%@ Register Src="Controls/TaskList.ascx" TagName="TaskList" TagPrefix="uc1" %>

<asp:Content ID="Content4" runat="server" ContentPlaceHolderID="MainContent">
    <div class="box" style="width: 265px;">
        <div class="blueBox">
            <h4>
                隐患报告管理
            </h4>
            <h5>
                <asp:LinkButton ID="approvalRequestLinkButton" runat="server" OnClick="approvalRequestLinkButton_Click"
                    Text="我要报告隐患" />
            </h5>
        </div>
    </div>
   <div> 
        <asp:LoginView ID="loginView" runat="server">
            <LoggedInTemplate>
                <div class="box right" style="width: 695px;">
                    <div class="blueBorderBox clearfix">
                        <asp:Image ID="refreshImage" runat="server" AlternateText=" " CssClass="icon" ImageUrl="~/images/icn-refresh.gif" />
                        <h4>
                            <asp:LinkButton ID="refreshTaskListsLinkButton" runat="server" OnClick="refreshTaskListsLinkButton_Click"
                                Text="刷新列表 />
                        </h4>
                    </div>
 <!--                   
                    <uc1:TaskList ID="usersTaskList" runat="server" BodyCssClass="orangeBorderBox clearfix"
                        ImageUrl="~/images/icn-mytasks.gif" ListType="UsersTasks" Title="我的待处理任务"></uc1:TaskList>-->                    
                    
                    <uc1:TaskList ID="rolesTaskList" runat="server" BodyCssClass="greenBorderBox clearfix"
                        ImageUrl="~/images/icn-tasks.gif" ListType="RolesTasks" Title="待处理任务">
                    </uc1:TaskList>
                </div>
            </LoggedInTemplate>
            <AnonymousTemplate>
                <div class="box right" style="width: 695px;">
                    <div class="blueBorderBox clearfix">
                        <br />
                        请先登录系统.<br />
                        <br />
                    </div>
                </div>
            </AnonymousTemplate>
        </asp:LoginView>
   </div> 
</asp:Content>
